﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ZFB.Common;

namespace ZFB.IServices
{
    public interface IAttachmentsServices     
    {
        /// <summary>
        /// 获取所有的设施
        /// </summary>
        /// <returns></returns>
        Task<ApiResult> GetAllAsync();
        /// <summary>
        /// 添加设施
        /// </summary>
        /// <returns></returns>
        Task<ApiResult> AddAsync(string name, string icon);
        /// <summary>
        /// 删除设施
        /// </summary>
        /// <returns></returns>
        Task<ApiResult> DeleteAsync(long id);
    }
}
